OpenBuildings™ Station Designer Help

How to create new component

The below steps illustrate a systematic approach to enhance the content to add desired connection points. By creating a new component in a discipline merits a customized design approach.

Steps to creating new component

  1. Create a schema (.xsd) in \\OpenBuildings CONNECT Edition\Configuration\Datasets\Dataset_US\DataGroupSystem

    OR

    Use Definition Editor utility to create a new DataGroup Definition. Include all essential properties in the schema required for the component.
  2. Add an entry under Catalog Item Name in HVAC~ .xml for HVAC components and in Plumbing~.xml for Plumbing components, respectively.


    This example indicates the Property Category defined is the category the component will have.

  3. The EndSpec schema defines number of connection point you need. In schema name for example, EndSpec5_22222 this indicates you will have 5 connection point and all with round shape (1 indicates rectangular, 2 round , and 3 oval).
  4. Define default values for each properties in the xml files located in \\OpenBuildings CONNECT Edition\Configuration\Datasets\Dataset_US\DataGroupSystem.
    These xml files are according to categories of components.
    • HVAC_Diffusers.xml
    • HVAC_Fittings.xml
    • HVAC_Grilles.xml
    • InlineDevice.xml
    • Plumbing_lib.xml
    • PlumbingEquipment_lib.xml
    • PlumbingFixtures.xml
    • Ducts.xml
    • Equipment_lib.xml
  5. Add entry in *.methods file to link the VBA script located at \\OpenBuildings CONNECT Edition\Configuration\Datasets\Dataset_US\vba. Specify project name(.mvba) module name and entry point function name.


    There are different VBA projects located at \\OpenBuildings CONNECT Edition\Configuration\Datasets\Dataset_US\vba as you specify module in above steps create new module, entry point function.
  6. Create new class module for you component and instance that class in entry point function.
    List of available VBA projects.
    • BMECH_AccessDoors.mvba
    • BMECH_Cleanouts.mvba
    • BMECH_AccessDoors.mvba
    • BMECH_Cleanouts.mvba
    • BMECH_Goosenecks.mvba
    • BMECH_MiscFitting.mvba
    • BMECH_MixedFitting.mvba
    • BMECH_OvalFitting.mvba
    • BMECH_PUMPS.mvba
    • BMECH_RectFitting.mvba
    • BMECH_RoundFitting.mvba
    • BMECH_Sprinklers.mvba
    • BMP_Equipments.mvba
    • fixtures.mvba
    • inlinedevices.mvba
    • grilles.mvba
    • valves_flanges.mvba
  7. Static cell components with connection point can be created by changing macro via VBA Project Manager.

    To do so, copy class module as it is from project, say HVAC_InlineDevices — ClsRectangularAHUs1 into your newly created class module.